@use './base.scss';
@use './fit.scss';
@use './hover.scss';
@use './iconfont.scss';

@font-face {
  font-family: 'ali';
  src: url('../font/ali2.ttf');
  font-weight: normal;
  font-style: normal;
}
.f-number {
  font-family: 'ali';
  font-weight: bold !important;
}
html, body, h1, h2, h3, h4, h5, h6, ul, li, input, button, textarea, section {
  margin: 0;
  padding: 0;
}
html.hidden {
  overflow: hidden;
}

html.hidden body {
  overflow: hidden;
}
body {
  min-height: 100vh;
}
p {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
}
// ::-webkit-scrollbar {
//   display: none;
//   height: 0;
//   width: 0;
//   color: transparent;
// } 
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input {
  -webkit-appearance: none;
  border-radius: 0;
}
input[type="number"]{
  -moz-appearance: textfield;
}

*{
outline: 0;
// -webkit-font-smoothing: antialiased
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal
}
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  overflow-x: hidden;
  background: #fff;
  -webkit-font-smoothing: antialiased
}
body, input, button, textarea {
  font-family: -apple-system,PingFang SC,Hiragino Sans GB,Source Han Sans CN,sans-serif;
  -webkit-font-smoothing: antialiased;
  border: none;
  outline: none;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

html,body{
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: none;
}
a {
  text-decoration: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
img {
  vertical-align: middle;
  -webkit-touch-callout:none;
  line-height: 1
}
.text-nowrap {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-wrap: normal !important;
  word-wrap: normal\0 !important;
}
.text-wrap-2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /*!autoprefixer:off*/
  -webkit-box-orient: vertical;
  /*autoprefixer:on*/
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-column {
  flex-direction: column;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.fit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contain-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes fadeIn {   
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.wow {
  visibility: hidden;
}